package cn.edu.nit.sys.entity;

import cn.edu.nit.sys.enums.DayTimeEnum;
import cn.edu.nit.sys.enums.WeekEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author 罗文斌
 * @Date 2023/3/21
 * @Version 1.0.0
 */
@Data
@TableName("sys_course")
public class Course {

    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private String subjectId;
    private String equipId;
    private String teacher_id;
    private String week;
    private String day;
    private String time;
    private String year;
    private String createTime;
    @TableField(exist = false)
    private WeekEnum dayLabel;
    @TableField(exist = false)
    private DayTimeEnum timeLabel;
    @TableField(exist = false)
    private String auto;
    @TableField(exist = false)
    private String room;
    @TableField(exist = false)
    private String teacher;
    @TableField(exist = false)
    private String clazz;
    @TableField(exist = false)
    private String subject;
    @TableField(exist = false)
    private String score;
    @TableField(exist = false)
    private String duration;
    @TableField(exist = false)
    private Long start;

}
